<?php
	$langcode=$this->lang->lang();
?>
<div class="temp2">
    <p><?php echo $this->lang->line('fm_news'); ?></p>
</div>
<?php

?>
<div class="content">

    <div class="news_home" style="min-height: 400px; background: #EEF2F7;">
        <div class="news_home1">
            <div class="p10">
            
                <?php if(isset($news[0]) && !empty($news[0])){?>
            
                <div class="newss_title"><?php echo $news[0]['title'];?></div>
                <div class="p10t">
                    <p style="font-size:13px;">
                    <?php if($news[0]['picture']){?>
                    <img src="<?php echo base_url(); ?>assets/auto_thumbnail/timthumb.php?src=<?php echo base_url(); ?>upload_file/article/<?php echo $news[0]['picture']; ?>&h=155&w=225&zc=1" style="margin: 0 6px 6px 0; float: left;" />
                    <?php }?> 
                        <?php echo $news[0]['intro'];?>
                    </p>
                </div>
                <div class="clear_left"></div>
                <div class="linklink"><a class="bt_linklink" href="<?php echo base_url().$langcode; ?>/newsdetail/<?php echo $news[0]['article_id'];?>.html"><?php echo $this->lang->line('text_more'); ?></a></div>
                <div class="clear_right"></div>
                
                <?php }?>
                
                <div class="p10t" style="margin: 0; width: 460px;">
                    <div style="margin: 0; width: 230px; float:left;">
                        <div class="p5">
                            <?php if(isset($news[1]) && !empty($news[1])){?>
                            <div style="color: #325980; font-size: 15px;"><?php echo $news[1]['title'];?></div>
                            <div class="p10t">
                                <p style="min-height: 80px;font-size:12px;">
                                     <?php echo $news[1]['intro'];?>
                                </p>
                                <div class="linklink"><a class="bt_linklink" href="<?php echo base_url().$langcode; ?>/newsdetail/<?php echo $news[1]['article_id'];?>.html"><?php echo $this->lang->line('text_more'); ?></a></div>
                                <div class="clear_right"></div>
                            </div>
                            <?php }?>
                            
                        </div>
                    </div>
                    <div style="margin: 0; width: 230px; float:left;">
                        <div class="p5">
                            <?php if(isset($news[2]) && !empty($news[2])){?>
                            <div style="color: #325980; font-size: 15px;"><?php echo $news[2]['title'];?></div>
                            <div class="p10t">
                                <p style="min-height: 80px;font-size:12px;">
                                     <?php echo $news[2]['intro'];?>
                                </p>
                                <div class="linklink"><a class="bt_linklink" href="<?php echo base_url().$langcode; ?>/newsdetail/<?php echo $news[2]['article_id'];?>.html"><?php echo $this->lang->line('text_more'); ?></a></div>
                                <div class="clear_right"></div>
                            </div>
                            <?php }?>
                        </div>
                    </div>
                    <div class="clear_left"></div>
                </div>
            </div>  
        </div>
        
        <div class="news_home2">

            <div class="p10">
                <div style="color: #325980; font-size: 15px; border-bottom: 1px dotted #5583AC; width: 200px; padding-bottom: 14px;;"><?php echo $this->lang->line('text_more_news'); ?></div>
                
                <div class="p10t link_news_more">
                    <ul>
                        <?php if(isset($news[3]) && !empty($news[3])){ for($i=3;$i<count($news);$i++){?>
                        <li><img src="<?php echo base_url(); ?>assets/img/icon_01.png" />&nbsp;&nbsp;<a href="<?php echo base_url().$langcode; ?>/newsdetail/<?php echo $news[$i]['article_id'];?>.html"><?php echo $news[$i]['title'];?></a></li>
                       
                        <?php }}?>
                    </ul>
                </div>
                
                
            </div>

        </div>
        <div class="clear_left"></div>
    </div>
    
    
</div>
<script>
jQuery(document).ready(function(){
	jQuery("#news_active").addClass('current');
});
</script>